# -*- coding: utf-8 -*-

BASE_LOGGER = {
    "level": "WARNING",
    "propagate": False,
    "handlers": ["xxx_handler"]
}

BASE_HANDLER = {
    "backupCount": 3,
    "level": "WARNING",
    "filename": "xxx.log",
    "formatter": "standard",
    "maxBytes": 1024*1024*1024,
    "class": "logging.handlers.RotatingFileHandler"
}

LOGGERS = {
    "version": 1,
    "disable_existing_loggers": False,
    "formatters": {
        "standard": {
            "format": "%(asctime)s [%(module)s:%(funcName)s:%(lineno)d] [%(levelname)s] %(message)s",
            "datefmt": "[%Y-%m-%D %H:%M:%S %z]"
        }
    },
    "loggers": {},
    "handlers": {}
}
